home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / util / cli / ECmd21p_bin.lha / ExtraCmds / doc / Unique.man < prev    next >
Encoding:
Text File  |  1994-01-05  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Unique(V37)                                           Unique(V37)
  5.  
  6.  
  7. FFOORRMMAATT
  8.        UUNNIIQQUUEE [[FFRROOMM] _f_i_l_e] [[TTOO] _f_i_l_e]
  9.               [RREEPPEEAATTEEDD] [UUNNIIQQUUEE|OONNCCEE] [CCOOUUNNTT]
  10.  
  11. TTEEMMPPLLAATTEE
  12.        FFRROOMM,,TTOO,,RREEPPEEAATTEEDD//SS,,UUNNIIQQUUEE==OONNCCEE//SS,,CCOOUUNNTT//SS
  13.  
  14. PPUURRPPOOSSEE
  15.        To report repeated lines in a file.
  16.  
  17. SSPPEECCIIFFIICCAATTIIOONN
  18.        The  command UUNNIIQQUUEE reads the FFRROOMM file comparing adjacent
  19.        lines.  In the normal  case,  the  second  and  succeeding
  20.        copies  of  repeated  lines  are removed; the remainder is
  21.        written on the TTOO file.  Note that repeated lines must  be
  22.        adjacent  to  be  found (see SSOORRTT).  If the OONNCCEE switch is
  23.        used, just the lines that are not repeated in the original
  24.        file  are  output.  The RREEPPEEAATTEEDD switch specifies that one
  25.        copy of just the repeated lines is  to  be  written.   The
  26.        normal  mode  ouput  is the union of the OONNCCEE and RREEPPEEAATTEEDD
  27.        mode outputs.
  28.  
  29.        The synonym UUNNIIQQUUEE for OONNCCEE is kept in  this  release  for
  30.        compatibility with older versions.
  31.  
  32.        The CCOOUUNNTT switch generates an output report with each line
  33.        preceeded by a count of the number of times it occured.
  34.  
  35.        If no FFRROOMM file is given input is read  from  the  default
  36.        input;  likewise  if no TTOO file is given output is written
  37.        to the default output.
  38.  
  39. SSEEEE AALLSSOO
  40.        CCOOMMMMOONN(V37),  CCOOUUNNTT(V37),  PPRREEPPAARREE(V37),   SSOORRTT(AmigaDOS),
  41.        SSOORRTT(ARP)
  42.  
  43. BBUUGGSS
  44.        Unique  will  fail to function correctly given input lines
  45.        longer than 512 characters.
  46.  
  47. UUNNIIXX EEQQUUIIVVAALLEENNTT
  48.        uunniiqq(1)
  49.  
  50. AAUUTTHHOORR
  51.        Torsten Poulin (torsten@diku.dk)
  52.  
  53. UUNNRREESSTTRRIICCTTIIOONNSS
  54.        UUNNIIQQUUEE is free; anyone may redistribute copies  of  UUNNIIQQUUEE
  55.        to anyone under the terms stated in the GNU General Public
  56.        Licence, a copy of which accompanies each copy of  UUNNIIQQUUEE.
  57.  
  58.        Torsten  Poulin  encourages  you  to  improve  and  extend
  59.        UUNNIIQQUUEE, and urges that you contribute your  extensions  to
  60.        the world.
  61.  
  62.  
  63.  
  64. Unique version 37.7        20 June 1993                         1
  65.  
  66.  
  67.